package cc.rboot.inject.annotation;

import cc.rboot.inject.core.IMapperInjector;
import cc.rboot.token.tokens.DefaultToken;
import cc.rboot.token.core.IToken;
import cc.rboot.inject.core.DefaultMapperInjector;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Repeatable(InjectMappers.class)
public @interface InjectMapper {
    Class<? extends IMapperInjector>[] mapper() default DefaultMapperInjector.class;
    Class<? extends IToken> token() default DefaultToken.class;
}
